package com.xbongbong.saas.domain.entity;

import com.xbongbong.paas.toolbox.util.DateTimeUtil;
import com.xbongbong.paas.toolbox.util.DateUtil;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 工作报告明日计划实体
 *
 * @author feng.zheng
 * @version v1.0
 * @date 2019/2/12 15:03
 * @since v1.0
 */
@Setter
@Getter
@ToString
public class WorkPlanEntity implements Serializable {
    private static final long serialVersionUID = -4001712950929456614L;
    /**主键*/
    private Long id;
    /**公司ID*/
    private String corpid;
    /**员工ID*/
    private String userId;
    /**工作汇报ID*/
    private Long reportId;
    /**工作汇报类型 1：日报，2：周报，3：月报*/
    private Integer type;
    /**工作计划状态*/
    private Integer status;
    /**工作计划内容*/
    private String content;
    /**工作计划日期*/
    private Long planDate;
    /**添加时间*/
    private Long addTime;
    /**更新时间*/
    private Long updateTime;
    /** 删除标记*/
    private Integer del;

    public WorkPlanEntity() {
        long now = DateTimeUtil.getInt();
        this.updateTime = now;
        this.addTime = now;
        del = 0;
    }
}
